<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <style>
        * {
            margin: 0;
            padding: 0;
            border: 0;
            box-sizing: border-box;
        }

        .container {
            width: 1100px;
            height: 400px;
            margin: 0 auto;
            border: 2px solid #e74f4d;
            position: absolute;
            top: 50%;
            left: 50%;
            -webkit-transform: translate(-50%, -50%);
            -moz-transform: translate(-50%, -50%);
            -ms-transform: translate(-50%, -50%);
            -o-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
        }

        .container2{
            width: 45%;
            height: 90%;
            float: left;
            margin: 20px;
            border: 2px solid green;
        }

        .container3 {
            width: 40%;
            height: 90%;
            float: left;
            margin: 20px;
            border: 2px solid blue;
        }

        .container4 {
            width: 28%;
            height: 90%;
            float: left;
            margin: 20px;
            border: 2px solid #e74f4d;
        }
    </style>
</head>
<body>

    <div class="container">
        <div class="container2">
            <div class="container3">
                <div class="container4"></div>
                <div class="container4"></div>
            </div>
            <div class="container3">
                <div class="container4"></div>
                <div class="container4"></div>
            </div>
        </div>
        <div class="container2">
            <div class="container3">
                <div class="container4"></div>
                <div class="container4"></div>
            </div>
            <div class="container3">
                <div class="container4"></div>
                <div class="container4"></div>
            </div>
        </div>
    </div>
    <script src="task.js"></script>
</body>
</html>